package user;

import book.BookList;
import operation.IOpreation;

abstract public class User {
    protected String name;
    abstract public int menu();

    public User(String name) {
        this.name = name;
    }
    public IOpreation[] ioperations;
    public void doOperation(int choice, BookList bookList) {
        ioperations[choice].work(bookList);
    }
}
